package com.sykj.model;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class Teacher {
	private Integer id;
	private String emp_no;
	private String name ;
	private String sex ;
	private String birthday ;
	private String degree ;
	private Integer org_id;
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date update_date;
	private Org org;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getEmp_no() {
		return emp_no;
	}
	public void setEmp_no(String emp_no) {
		this.emp_no = emp_no;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getBirthday() {
		return birthday;
	}
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
	public String getDegree() {
		return degree;
	}
	public void setDegree(String degree) {
		this.degree = degree;
	}
	public Integer getOrg_id() {
		return org_id;
	}
	public void setOrg_id(Integer org_id) {
		this.org_id = org_id;
	}
	public Date getUpdate_date() {
		return update_date;
	}
	public void setUpdate_date(Date update_date) {
		this.update_date = update_date;
	}
	public Org getOrg() {
		return org;
	}
	public void setOrg(Org org) {
		this.org = org;
	}
	@Override
	public String toString() {
		return "Teacher [id=" + id + ", emp_no=" + emp_no + ", name=" + name + ", sex=" + sex + ", birthday=" + birthday
				+ ", degree=" + degree + ", org_id=" + org_id + ", update_date=" + update_date + ", org=" + org + "]";
	}
	
}
